package com.itaming.lycheeframework.security.exception;

import com.itaming.lycheeframework.security.result.SecurityErrorCode;

import java.io.Serial;

/**
 * 令牌已过期异常
 *
 * @author A.Ming
 */
public class TokenExpiredException extends AuthenticationException {

    @Serial
    private static final long serialVersionUID = 1L;

    public TokenExpiredException() {
        super(SecurityErrorCode.TOKEN_EXPIRED);
    }

}
